package com.xdp.controller;

import com.xdp.annotation.RedisLimiter;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @description:
 * @author: dengPing.xu
 * @date: 2022-05-31
 */
@RestController
public class HelloController {

    @RedisLimiter(count = 3)
    @GetMapping("/hello")
    public String hello(){
        return "hello,world";
    }
}
